package com.itotem.android.everbridge.view;

import com.itotem.android.everbridge.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;

public class VoiceMailPreferenceView extends TitleView {
	
	Context mContext;
	ImageView noMessageImg, messageOnlyImg;

	public VoiceMailPreferenceView(Context context) {
		super(context);
		this.mContext = context;
		initViews();
		initTitleView();
	}
	
	private void initTitleView() {
		setLeftBackImageVisible(true);
		setRightImageVisible(false);
		setRightRebroadImageVisible(false);
		setLeftImageVisible(false);
		setText("Voice Mail Preference");
	}
	
	private void initViews() {
		View v = LayoutInflater.from(mContext).inflate(R.layout.voice_mail_preference, null);
		noMessageImg = (ImageView)v.findViewById(R.id.voice_mail_img_no_message);
		messageOnlyImg = (ImageView)v.findViewById(R.id.voice_mail_img_message_only);
		addView(v);
	}

}
